﻿using System;


namespace YXYLCommon
{
    public class BaseController:System.Web.Mvc.Controller
    {
        public System.Web.Mvc.JsonResult ToJson(object data,string contenttype)
        {
           return this.Json(data, contenttype);
        }
    }
}
